<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_event_pattern.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__event__pattern_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_event_pattern.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_event_pattern.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;qevent.h&gt;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a1236c9239a3d8281d66b255ad18f7ee2">   19</a></span>&#160;<a class="code" href="class_qwt_event_pattern.html#a1236c9239a3d8281d66b255ad18f7ee2">QwtEventPattern::QwtEventPattern</a>()</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    : m_mousePattern( MousePatternCount )</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    , m_keyPattern( KeyPatternCount )</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;{</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#a91c1acb96b5c3849b9518206290f7da8">initKeyPattern</a>();</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#ab885e0f266fd5b574ccbc6272225f486">initMousePattern</a>( 3 );</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;}</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a3f8c2a2cca991000bafefd924b47895d">   28</a></span>&#160;<a class="code" href="class_qwt_event_pattern.html#a3f8c2a2cca991000bafefd924b47895d">QwtEventPattern::~QwtEventPattern</a>()</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;}</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#ab885e0f266fd5b574ccbc6272225f486">   38</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_event_pattern.html#ab885e0f266fd5b574ccbc6272225f486">QwtEventPattern::initMousePattern</a>( <span class="keywordtype">int</span> numButtons )</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;{</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    m_mousePattern.resize( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa01bd637c7b7c0fbb80c013f8a935e562">MousePatternCount</a> );</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordflow">switch</span> ( numButtons )</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    {</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="keywordflow">case</span> 1:</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        {</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;            <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa5875976eba018ca30eb30ba92986d270">MouseSelect1</a>, Qt::LeftButton );</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaac4185682db6cfd9c59955eb4cf052fd1">MouseSelect2</a>, Qt::LeftButton, Qt::ControlModifier );</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaaa52e3aa1f4f6e57e22ffe9208f0dd1e3">MouseSelect3</a>, Qt::LeftButton, Qt::AltModifier );</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        }</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="keywordflow">case</span> 2:</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        {</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;            <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa5875976eba018ca30eb30ba92986d270">MouseSelect1</a>, Qt::LeftButton );</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;            <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaac4185682db6cfd9c59955eb4cf052fd1">MouseSelect2</a>, Qt::RightButton );</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaaa52e3aa1f4f6e57e22ffe9208f0dd1e3">MouseSelect3</a>, Qt::LeftButton, Qt::AltModifier );</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        }</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        {</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa5875976eba018ca30eb30ba92986d270">MouseSelect1</a>, Qt::LeftButton );</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;            <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaac4185682db6cfd9c59955eb4cf052fd1">MouseSelect2</a>, Qt::RightButton );</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;            <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaaa52e3aa1f4f6e57e22ffe9208f0dd1e3">MouseSelect3</a>, Qt::MiddleButton );</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        }</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa7cf49ee566862c3778e3d47096138f3b">MouseSelect4</a>, m_mousePattern[<a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa5875976eba018ca30eb30ba92986d270">MouseSelect1</a>].button,</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        m_mousePattern[<a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa5875976eba018ca30eb30ba92986d270">MouseSelect1</a>].modifiers | Qt::ShiftModifier );</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaac735f981781895836d0d9475ac3cae87">MouseSelect5</a>, m_mousePattern[<a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaac4185682db6cfd9c59955eb4cf052fd1">MouseSelect2</a>].button,</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        m_mousePattern[<a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaac4185682db6cfd9c59955eb4cf052fd1">MouseSelect2</a>].modifiers | Qt::ShiftModifier );</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaaf8f83e3d9c9a5d639a4290c6b124ddd9">MouseSelect6</a>, m_mousePattern[<a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaaa52e3aa1f4f6e57e22ffe9208f0dd1e3">MouseSelect3</a>].button,</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        m_mousePattern[<a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaaa52e3aa1f4f6e57e22ffe9208f0dd1e3">MouseSelect3</a>].modifiers | Qt::ShiftModifier );</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;}</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a91c1acb96b5c3849b9518206290f7da8">   81</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_event_pattern.html#a91c1acb96b5c3849b9518206290f7da8">QwtEventPattern::initKeyPattern</a>()</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;{</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    m_keyPattern.resize( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007aca9b018d7ae0f2342779e91df7ddcdd3">KeyPatternCount</a> );</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a32afc68b8e31079c00666a251d0b9c25">KeySelect1</a>, Qt::Key_Return );</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007acfd4f64d5b3b29214e51afcc56ea7eaf">KeySelect2</a>, Qt::Key_Space );</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a5b73ad3186285f5aaf2030a50a3fb5a4">KeyAbort</a>, Qt::Key_Escape );</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007abaf3cd86d773c8e47a2c670b65d6ec95">KeyLeft</a>, Qt::Key_Left );</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a607bbbf235ba79f6e36a25c6d7d27c53">KeyRight</a>, Qt::Key_Right );</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a010af73c06629f6c53daf69fad5b6efe">KeyUp</a>, Qt::Key_Up );</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a00c2d782ca962ee6bcda1c4a3649d1e7">KeyDown</a>, Qt::Key_Down );</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a2c8d72876cd9435ee018e9cf8fa2ff26">KeyRedo</a>, Qt::Key_Plus );</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a76cf851373169fbc588109c1eccca33a">KeyUndo</a>, Qt::Key_Minus );</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a4cba7de2850f874988cbaa38a236ecb2">KeyHome</a>, Qt::Key_Escape );</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;}</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">  108</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">QwtEventPattern::setMousePattern</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1ea">MousePatternCode</a> pattern,</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    Qt::MouseButton button, Qt::KeyboardModifiers modifiers )</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;{</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordflow">if</span> ( pattern &gt;= 0 &amp;&amp; pattern &lt; <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa01bd637c7b7c0fbb80c013f8a935e562">MousePatternCount</a> )</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    {</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        m_mousePattern[ pattern ].button = button;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        m_mousePattern[ pattern ].modifiers = modifiers;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    }</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;}</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">  127</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">QwtEventPattern::setKeyPattern</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007">KeyPatternCode</a> pattern,</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="keywordtype">int</span> key, Qt::KeyboardModifiers modifiers )</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;{</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="keywordflow">if</span> ( pattern &gt;= 0 &amp;&amp; pattern &lt; <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007aca9b018d7ae0f2342779e91df7ddcdd3">KeyPatternCount</a> )</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    {</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        m_keyPattern[ pattern ].key = key;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        m_keyPattern[ pattern ].modifiers = modifiers;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    }</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;}</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#ad8e3b196c1026b038ccdf359f9a69d29">  138</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">QwtEventPattern::setMousePattern</a>( <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; MousePattern &gt;</a>&amp; pattern )</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;{</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    m_mousePattern = pattern;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;}</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a73cf4257902b8a9d95aef60fabd3f747">  144</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">QwtEventPattern::setKeyPattern</a>( <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; KeyPattern &gt;</a>&amp; pattern )</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;{</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    m_keyPattern = pattern;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;}</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; QwtEventPattern::MousePattern &gt;</a>&amp;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a1818b4a1f4f2e281bee9b0e3a66467b1">  151</a></span>&#160;<a class="code" href="class_qwt_event_pattern.html#a1818b4a1f4f2e281bee9b0e3a66467b1">QwtEventPattern::mousePattern</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordflow">return</span> m_mousePattern;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;}</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; QwtEventPattern::KeyPattern &gt;</a>&amp;</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a6aac201f048e4bddea53920fe70579a4">  158</a></span>&#160;<a class="code" href="class_qwt_event_pattern.html#a6aac201f048e4bddea53920fe70579a4">QwtEventPattern::keyPattern</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="keywordflow">return</span> m_keyPattern;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;}</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a141107868ed1c9cf1b34046873234390">  164</a></span>&#160;<a class="code" href="class_q_vector.html">QVector&lt; QwtEventPattern::MousePattern &gt;</a>&amp; <a class="code" href="class_qwt_event_pattern.html#a1818b4a1f4f2e281bee9b0e3a66467b1">QwtEventPattern::mousePattern</a>()</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;{</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordflow">return</span> m_mousePattern;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;}</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a9d8ea5b5ffea570c1fed4c8ca8e5cfff">  170</a></span>&#160;<a class="code" href="class_q_vector.html">QVector&lt; QwtEventPattern::KeyPattern &gt;</a>&amp; <a class="code" href="class_qwt_event_pattern.html#a6aac201f048e4bddea53920fe70579a4">QwtEventPattern::keyPattern</a>()</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;{</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <span class="keywordflow">return</span> m_keyPattern;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;}</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a3746870b5a06dfa3bfc15c51fed79138">  188</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_event_pattern.html#a3746870b5a06dfa3bfc15c51fed79138">QwtEventPattern::mouseMatch</a>( <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1ea">MousePatternCode</a> code,</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    <span class="keyword">const</span> QMouseEvent* event )<span class="keyword"> const</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keywordflow">if</span> ( code &gt;= 0 &amp;&amp; code &lt; <a class="code" href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa01bd637c7b7c0fbb80c013f8a935e562">MousePatternCount</a> )</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_qwt_event_pattern.html#a3746870b5a06dfa3bfc15c51fed79138">mouseMatch</a>( m_mousePattern[ code ], event );</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160; </div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;}</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a70e0140c555e4ada8562cb1ec7893584">  211</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_event_pattern.html#a3746870b5a06dfa3bfc15c51fed79138">QwtEventPattern::mouseMatch</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern_1_1_mouse_pattern.html">MousePattern</a>&amp; pattern,</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    <span class="keyword">const</span> QMouseEvent* event )<span class="keyword"> const</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    <span class="keywordflow">if</span> ( event == NULL )</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern_1_1_mouse_pattern.html">MousePattern</a> <a class="code" href="class_qwt_event_pattern.html#a1818b4a1f4f2e281bee9b0e3a66467b1">mousePattern</a>( event-&gt;button(), event-&gt;modifiers() );</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_event_pattern.html#a1818b4a1f4f2e281bee9b0e3a66467b1">mousePattern</a> == pattern;</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;}</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#a737a72838595ae3a99779f2254abcfc8">  234</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_event_pattern.html#a737a72838595ae3a99779f2254abcfc8">QwtEventPattern::keyMatch</a>( <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007">KeyPatternCode</a> code,</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;    <span class="keyword">const</span> QKeyEvent* event )<span class="keyword"> const</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    <span class="keywordflow">if</span> ( code &gt;= 0 &amp;&amp; code &lt; <a class="code" href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007aca9b018d7ae0f2342779e91df7ddcdd3">KeyPatternCount</a> )</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_qwt_event_pattern.html#a737a72838595ae3a99779f2254abcfc8">keyMatch</a>( m_keyPattern[ code ], event );</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;}</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="class_qwt_event_pattern.html#ac5029b310936997cf3268d1ae4fe14fe">  257</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_event_pattern.html#a737a72838595ae3a99779f2254abcfc8">QwtEventPattern::keyMatch</a>(</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern_1_1_key_pattern.html">KeyPattern</a>&amp; pattern, <span class="keyword">const</span> QKeyEvent* event )<span class="keyword"> const</span></div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="keywordflow">if</span> ( event == NULL )</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160; </div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern_1_1_key_pattern.html">KeyPattern</a> <a class="code" href="class_qwt_event_pattern.html#a6aac201f048e4bddea53920fe70579a4">keyPattern</a>( event-&gt;key(), event-&gt;modifiers() );</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_event_pattern.html#a6aac201f048e4bddea53920fe70579a4">keyPattern</a> == pattern;</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;}</div>
<div class="ttc" id="aclass_q_vector_html"><div class="ttname"><a href="class_q_vector.html">QVector</a></div><div class="ttdef"><b>Definition:</b> <a href="qwt__clipper_8h_source.html#l00023">qwt_clipper.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_1_1_key_pattern_html"><div class="ttname"><a href="class_qwt_event_pattern_1_1_key_pattern.html">QwtEventPattern::KeyPattern</a></div><div class="ttdoc">A pattern for key events.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00168">qwt_event_pattern.h:169</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_1_1_mouse_pattern_html"><div class="ttname"><a href="class_qwt_event_pattern_1_1_mouse_pattern.html">QwtEventPattern::MousePattern</a></div><div class="ttdoc">A pattern for mouse events.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00149">qwt_event_pattern.h:150</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a0b786f31af2f8084ec361bc905beda3f"><div class="ttname"><a href="class_qwt_event_pattern.html#a0b786f31af2f8084ec361bc905beda3f">QwtEventPattern::setMousePattern</a></div><div class="ttdeci">void setMousePattern(MousePatternCode, Qt::MouseButton button, Qt::KeyboardModifiers=Qt::NoModifier)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00108">qwt_event_pattern.cpp:108</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a1236c9239a3d8281d66b255ad18f7ee2"><div class="ttname"><a href="class_qwt_event_pattern.html#a1236c9239a3d8281d66b255ad18f7ee2">QwtEventPattern::QwtEventPattern</a></div><div class="ttdeci">QwtEventPattern()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00019">qwt_event_pattern.cpp:19</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a1818b4a1f4f2e281bee9b0e3a66467b1"><div class="ttname"><a href="class_qwt_event_pattern.html#a1818b4a1f4f2e281bee9b0e3a66467b1">QwtEventPattern::mousePattern</a></div><div class="ttdeci">const QVector&lt; MousePattern &gt; &amp; mousePattern() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00151">qwt_event_pattern.cpp:151</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a3746870b5a06dfa3bfc15c51fed79138"><div class="ttname"><a href="class_qwt_event_pattern.html#a3746870b5a06dfa3bfc15c51fed79138">QwtEventPattern::mouseMatch</a></div><div class="ttdeci">bool mouseMatch(MousePatternCode, const QMouseEvent *) const</div><div class="ttdoc">Compare a mouse event with an event pattern.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00188">qwt_event_pattern.cpp:188</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a3f8c2a2cca991000bafefd924b47895d"><div class="ttname"><a href="class_qwt_event_pattern.html#a3f8c2a2cca991000bafefd924b47895d">QwtEventPattern::~QwtEventPattern</a></div><div class="ttdeci">virtual ~QwtEventPattern()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00028">qwt_event_pattern.cpp:28</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a6aac201f048e4bddea53920fe70579a4"><div class="ttname"><a href="class_qwt_event_pattern.html#a6aac201f048e4bddea53920fe70579a4">QwtEventPattern::keyPattern</a></div><div class="ttdeci">const QVector&lt; KeyPattern &gt; &amp; keyPattern() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00158">qwt_event_pattern.cpp:158</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a737a72838595ae3a99779f2254abcfc8"><div class="ttname"><a href="class_qwt_event_pattern.html#a737a72838595ae3a99779f2254abcfc8">QwtEventPattern::keyMatch</a></div><div class="ttdeci">bool keyMatch(KeyPatternCode, const QKeyEvent *) const</div><div class="ttdoc">Compare a key event with an event pattern.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00234">qwt_event_pattern.cpp:234</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007">QwtEventPattern::KeyPatternCode</a></div><div class="ttdeci">KeyPatternCode</div><div class="ttdoc">Symbolic keyboard input codes.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00112">qwt_event_pattern.h:113</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007a00c2d782ca962ee6bcda1c4a3649d1e7"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a00c2d782ca962ee6bcda1c4a3649d1e7">QwtEventPattern::KeyDown</a></div><div class="ttdeci">@ KeyDown</div><div class="ttdoc">Qt::Key_Down.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00133">qwt_event_pattern.h:133</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007a010af73c06629f6c53daf69fad5b6efe"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a010af73c06629f6c53daf69fad5b6efe">QwtEventPattern::KeyUp</a></div><div class="ttdeci">@ KeyUp</div><div class="ttdoc">Qt::Key_Up.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00130">qwt_event_pattern.h:130</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007a2c8d72876cd9435ee018e9cf8fa2ff26"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a2c8d72876cd9435ee018e9cf8fa2ff26">QwtEventPattern::KeyRedo</a></div><div class="ttdeci">@ KeyRedo</div><div class="ttdoc">Qt::Key_Plus.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00136">qwt_event_pattern.h:136</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007a32afc68b8e31079c00666a251d0b9c25"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a32afc68b8e31079c00666a251d0b9c25">QwtEventPattern::KeySelect1</a></div><div class="ttdeci">@ KeySelect1</div><div class="ttdoc">Qt::Key_Return.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00115">qwt_event_pattern.h:115</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007a4cba7de2850f874988cbaa38a236ecb2"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a4cba7de2850f874988cbaa38a236ecb2">QwtEventPattern::KeyHome</a></div><div class="ttdeci">@ KeyHome</div><div class="ttdoc">Qt::Key_Escape.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00142">qwt_event_pattern.h:142</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007a5b73ad3186285f5aaf2030a50a3fb5a4"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a5b73ad3186285f5aaf2030a50a3fb5a4">QwtEventPattern::KeyAbort</a></div><div class="ttdeci">@ KeyAbort</div><div class="ttdoc">Qt::Key_Escape.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00121">qwt_event_pattern.h:121</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007a607bbbf235ba79f6e36a25c6d7d27c53"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a607bbbf235ba79f6e36a25c6d7d27c53">QwtEventPattern::KeyRight</a></div><div class="ttdeci">@ KeyRight</div><div class="ttdoc">Qt::Key_Right.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00127">qwt_event_pattern.h:127</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007a76cf851373169fbc588109c1eccca33a"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007a76cf851373169fbc588109c1eccca33a">QwtEventPattern::KeyUndo</a></div><div class="ttdeci">@ KeyUndo</div><div class="ttdoc">Qt::Key_Minus.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00139">qwt_event_pattern.h:139</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007abaf3cd86d773c8e47a2c670b65d6ec95"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007abaf3cd86d773c8e47a2c670b65d6ec95">QwtEventPattern::KeyLeft</a></div><div class="ttdeci">@ KeyLeft</div><div class="ttdoc">Qt::Key_Left.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00124">qwt_event_pattern.h:124</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007aca9b018d7ae0f2342779e91df7ddcdd3"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007aca9b018d7ae0f2342779e91df7ddcdd3">QwtEventPattern::KeyPatternCount</a></div><div class="ttdeci">@ KeyPatternCount</div><div class="ttdoc">Number of key patterns.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00146">qwt_event_pattern.h:145</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a8fb57ceb9982d5583a1bf568e37d3007acfd4f64d5b3b29214e51afcc56ea7eaf"><div class="ttname"><a href="class_qwt_event_pattern.html#a8fb57ceb9982d5583a1bf568e37d3007acfd4f64d5b3b29214e51afcc56ea7eaf">QwtEventPattern::KeySelect2</a></div><div class="ttdeci">@ KeySelect2</div><div class="ttdoc">Qt::Key_Space.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00118">qwt_event_pattern.h:118</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_a91c1acb96b5c3849b9518206290f7da8"><div class="ttname"><a href="class_qwt_event_pattern.html#a91c1acb96b5c3849b9518206290f7da8">QwtEventPattern::initKeyPattern</a></div><div class="ttdeci">void initKeyPattern()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00081">qwt_event_pattern.cpp:81</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_ab885e0f266fd5b574ccbc6272225f486"><div class="ttname"><a href="class_qwt_event_pattern.html#ab885e0f266fd5b574ccbc6272225f486">QwtEventPattern::initMousePattern</a></div><div class="ttdeci">void initMousePattern(int numButtons)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00038">qwt_event_pattern.cpp:38</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_af48dc808ac5e125eeed41a4c0285d1ea"><div class="ttname"><a href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1ea">QwtEventPattern::MousePatternCode</a></div><div class="ttdeci">MousePatternCode</div><div class="ttdoc">Symbolic mouse input codes.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00045">qwt_event_pattern.h:46</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_af48dc808ac5e125eeed41a4c0285d1eaa01bd637c7b7c0fbb80c013f8a935e562"><div class="ttname"><a href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa01bd637c7b7c0fbb80c013f8a935e562">QwtEventPattern::MousePatternCount</a></div><div class="ttdeci">@ MousePatternCount</div><div class="ttdoc">Number of mouse patterns.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00103">qwt_event_pattern.h:102</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_af48dc808ac5e125eeed41a4c0285d1eaa5875976eba018ca30eb30ba92986d270"><div class="ttname"><a href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa5875976eba018ca30eb30ba92986d270">QwtEventPattern::MouseSelect1</a></div><div class="ttdeci">@ MouseSelect1</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00054">qwt_event_pattern.h:54</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_af48dc808ac5e125eeed41a4c0285d1eaa7cf49ee566862c3778e3d47096138f3b"><div class="ttname"><a href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaa7cf49ee566862c3778e3d47096138f3b">QwtEventPattern::MouseSelect4</a></div><div class="ttdeci">@ MouseSelect4</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00081">qwt_event_pattern.h:81</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_af48dc808ac5e125eeed41a4c0285d1eaaa52e3aa1f4f6e57e22ffe9208f0dd1e3"><div class="ttname"><a href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaaa52e3aa1f4f6e57e22ffe9208f0dd1e3">QwtEventPattern::MouseSelect3</a></div><div class="ttdeci">@ MouseSelect3</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00072">qwt_event_pattern.h:72</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_af48dc808ac5e125eeed41a4c0285d1eaac4185682db6cfd9c59955eb4cf052fd1"><div class="ttname"><a href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaac4185682db6cfd9c59955eb4cf052fd1">QwtEventPattern::MouseSelect2</a></div><div class="ttdeci">@ MouseSelect2</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00063">qwt_event_pattern.h:63</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_af48dc808ac5e125eeed41a4c0285d1eaac735f981781895836d0d9475ac3cae87"><div class="ttname"><a href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaac735f981781895836d0d9475ac3cae87">QwtEventPattern::MouseSelect5</a></div><div class="ttdeci">@ MouseSelect5</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00090">qwt_event_pattern.h:90</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_af48dc808ac5e125eeed41a4c0285d1eaaf8f83e3d9c9a5d639a4290c6b124ddd9"><div class="ttname"><a href="class_qwt_event_pattern.html#af48dc808ac5e125eeed41a4c0285d1eaaf8f83e3d9c9a5d639a4290c6b124ddd9">QwtEventPattern::MouseSelect6</a></div><div class="ttdeci">@ MouseSelect6</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8h_source.html#l00099">qwt_event_pattern.h:99</a></div></div>
<div class="ttc" id="aclass_qwt_event_pattern_html_af8f1008ebe2565e5e851214e62b27fef"><div class="ttname"><a href="class_qwt_event_pattern.html#af8f1008ebe2565e5e851214e62b27fef">QwtEventPattern::setKeyPattern</a></div><div class="ttdeci">void setKeyPattern(KeyPatternCode, int key, Qt::KeyboardModifiers modifiers=Qt::NoModifier)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__event__pattern_8cpp_source.html#l00127">qwt_event_pattern.cpp:127</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_event_pattern.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
